
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

	{include template('header','common')}	
	<div id="Mainbox">
	
<link href="{THEME_STYLE_PATH}style/css/prize.css" type="text/css" rel="stylesheet" />
		<!--插入侧边栏-->
			{include template('sidebar_login','common')}
		<!--插入侧边栏-->
		<!--顶端公告-->
			{include template('top_advance','common')}

		<!--顶端公告-->
		<!--左侧-->
			{include template('mall_menu','common')}
		<!--左侧-->
		<!--右侧-->
			<div class="prize_right">
				<!--奖品列表-->
				<div class="prize_listbox">
					<div class="prize_listbox_in">
						{php $_where = "`credit_type` = 'bean' AND `shop_type` = '1'"}
						{pc:document action="lists" catid="$catid" where='$_where' num="12" order="id DESC" page="$page"}
						{loop $data $r}
						<div class="prize_mode" onclick="window.open('{$r['url']}');">
							<div class="prize_mode_i">
								<div class="prize_mode_i_in"><img title="{$r['title']}" src="{$r['thumb']}" width="98" height="108"/></div>
							</div>
							<div class="prize_mode_t"><P>{$r['title']}</P><p><span class="udcl"><strong>{$r['credit_num']}</strong></span><img src="{THEME_STYLE_PATH}style/images/ud.gif" class="ub14"/></p></div>
					 	</div>
					 	{/loop}
						<!--翻页模板-->
						<div><span class="da3">{$pages}</span></div>
						<!--翻页模板-->
					 	{/pc}										
					</div> 
				</div>
				<!--奖品列表-->
			</div>
		<!--右侧-->
		<div class="clear"></div>
	</div>
	<!--主体-->
	<!--尾部-->
		{include template('footer','common')}

	
	

	<!--尾部-->
</body>
</html>
<script type="text/javascript">
$(document).ready(function(){
	$('div.prize_mode').mouseover(function(){
		$(this).removeClass('prize_mode').addClass('prize_mode_on');
	}).mouseout(function(){
		$(this).removeClass('prize_mode_on').addClass('prize_mode');
	});
});
</script>
